<?php
/**
 * Created by PhpStorm.
 * User: Hello pan
 * Date: 9/13/25
 * Time: 9:39 PM
 */

namespace app\modules\forum\controllers;

class PostController extends \yii\web\Controller
{

    public function init()
    {
        parent::init();
        var_dump(22222);
    }
    public function actionIndex()
    {
        var_dump(33333);
//        var_dump($this->module->get('db'));
        var_dump(\Yii::$app->get('db'));
    }
}